package com.zhiyume.dao.api;

import com.zhiyume.dao.entity.TAdminSys;
import com.zhiyume.dao.entity.TMenu;
import com.zhiyume.dao.entity.TRole;

import java.util.List;

/**
 * @javaDoc 管理员相关mapper接口
 */
public interface TAdminSelfMapper {
    List<TRole> selectUserRoleByUId(Long uId);
    List<TMenu> selectMenuByRoId(Integer roleId);
    TAdminSys selectAdminByUserName(String admin);
}
